package com.tax.application.controller;

import com.tax.domain.dto.req.PerformSubmitReq;
import com.tax.domain.service.PerformOrderSubmitService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Slf4j
@RestController
@RequestMapping("/performSubmitOrder")
public class PerformSubmitController {

    @Autowired
    private PerformOrderSubmitService performOrderSubmitService;

    @PostMapping(value = "/submitServiceOrder")
    public void submitServiceOrder(@RequestBody PerformSubmitReq req){
        performOrderSubmitService.performCreate(req);
    }
}
